package net.lab1024.sa.admin.module.business.roland.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.roland.domain.entity.RolandPerformanceTypeEntity;
import net.lab1024.sa.admin.module.business.roland.domain.form.RolandPerformanceTypeQueryForm;
import net.lab1024.sa.admin.module.business.roland.domain.vo.PerformanceTypeSelectVO;
import net.lab1024.sa.admin.module.business.roland.domain.vo.RolandPerformanceTypeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 演出类型表 Dao
 *
 * @Author dragon
 * @Date 2023-12-11 13:27:12
 * @Copyright dragon
 */

@Mapper
@Component
public interface RolandPerformanceTypeDao extends BaseMapper<RolandPerformanceTypeEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<RolandPerformanceTypeVO> queryPage(Page page, @Param("queryForm") RolandPerformanceTypeQueryForm queryForm);


    List<PerformanceTypeSelectVO> selectAll();
}
